﻿using System.Configuration;

namespace CommerceOne.Common.Configs
{
    /// <summary>
    /// 
    /// </summary>
    public class WidgetInstanceSettings : ConfigurationElement
    {
        [ConfigurationProperty("name", IsRequired = true)]
        public string Name
        {
            get { return this["name"] as string; }
            set { this["name"] = value; }
        }

        ////[ConfigurationProperty("pageName", IsRequired = true)]
        ////public string PageName
        ////{
        ////    get { return this["pageName"] as string; }
        ////    set { this["pageName"] = value; }
        ////}

        ////[ConfigurationProperty("displayName", IsRequired = true)]
        ////public string DisplayName
        ////{
        ////    get { return this["displayName"] as string; }
        ////    set { this["displayName"] = value; }
        ////}

        [ConfigurationProperty("fileName", IsRequired = true)]
        public string FileName
        {
            get { return this["fileName"] as string; }
            set { this["fileName"] = value; }
        }

        ////[ConfigurationProperty("service", IsRequired = true)]
        ////public string Service
        ////{
        ////    get { return this["service"] as string; }
        ////    set { this["service"] = value; }
        ////}

        ////[ConfigurationProperty("type", IsRequired = true)]
        ////public string Type
        ////{
        ////    get { return this["type"] as string; }
        ////    set { this["type"] = value; }
        ////}
    }
}